/**
 * @api {get} /users/:id 根据ID请求用户信息
 * @apiName findById
 * @apiGroup Users
 *
 * @apiParam {Number} id 用户ID.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 *     {
 *       "code": "1",
 *       "msg": "success",
 *       "data": [{"_id":"6166b04027addbc5401760a4","username":"admin","password":"admin"}]
 *     }
 */

/**
 * @api {delete} /users/:id 根据ID删除用户信息
 * @apiName deleteById
 * @apiGroup Users
 *
 * @apiParam {Number} id 用户ID.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 *     {
 *       "code": "1",
 *       "msg": "删除成功",
 *       "data": { acknowledged: true, deletedCount: 1 }
 *     }
 */

/**
 * @api {put} /users/:id 根据ID修改用户信息
 * @apiName updateById
 * @apiGroup Users
 *
 * @apiParam {Number} id 用户ID.
 * @apiParam {String} username 用户名.
 * @apiParam {String} password 用户密码.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 *     {
 *       "code": "1",
 *       "msg": "修改成功",
 *       "data": {"code":1,"msg":"修改成功","data":{"acknowledged":true,"modifiedCount":1,"upsertedId":null,"upsertedCount":0,"matchedCount":1}}
 *     }
 */

/**
 * @api {post} /users/login 用户登录
 * @apiName login
 * @apiGroup Users
 *
 * @apiParam {String} username 用户名.
 * @apiParam {String} password 用户密码.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 *     {
 *       "code": "1",
 *       "msg": "登录成功",
 *       "data": [{"_id":"6166b04027addbc5401760a4","username":"admin","password":"admin"}]
 *     }
 */

/**
 * @api {post} /users/register 用户注册
 * @apiName register
 * @apiGroup Users
 *
 * @apiParam {String} username 用户名.
 * @apiParam {String} password 用户密码.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 *     {
 *       "code": "1",
 *       "msg": "注册成功",
 *       "data": { acknowledged: true, insertedId: "616aa947d1a35b74c230b5af" }
 *     }
 */
